<!DOCTYPE html>
<!--[if lt IE 7]>
   <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html <?php language_attributes(); ?>><!--<![endif]-->
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=9" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">  
        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>" charset="<?php bloginfo('charset'); ?>" />
        <title><?php wp_title('|', true, 'right'); ?></title>	
        <?php $wl_theme_options = weblizar_get_options(); ?>
        <?php if ($wl_theme_options['upload_image_favicon'] != '') { ?>
            <link rel="shortcut icon" href="<?php echo $wl_theme_options['upload_image_favicon']; ?>" /> 
        <?php } ?>	
        <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?> id="">
        <div>
            <!-- Header Section -->
            <div class="header_section" >
                <div class="container" >
                    <?php if (is_front_page()) { ?>
                    <div class="dosweb_advert_area">
                        <?php
                        if (is_active_sidebar('advertising_dosweb')) {
                            dynamic_sidebar('advertising_dosweb');
                        }
                        ?>
                    </div>
                    <?php } ?>
                    <div class="sliderOuter">
                        <p>JOIN OUR EMAIL LIST</p>
                        <p id="errorMsg"></p>
                        <p id="successMsg"></p>
                        <form id="joinOurEmail" class="form-horizontal" method="POST" action="/email_sign_up.php">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <input type="text" class="form-control" id="first_name" name="firstName" placeholder="First Name">
                                </div>
                                <div class="form-group">
                                    <input type="text" class="form-control" id="last_name" name="lastName" placeholder="Last Name">
                                </div>
                                <div class="form-group">
                                    <input type="text" class="form-control" id="email" name="email" placeholder="Email">
                                </div>
                                <div class="form-group text-right">
                                    <input class="btn danger" type="button" id="join_now" value="JOIN NOW" name="join">
                                    <a class="btn danger" href="javascript:void(0);" id="collapseEmail">CLOSE</a>
                                </div>
                            </div>
                        </form>
                        <input type="hidden" id="base_url" name="base_url" value="<?php echo home_url('/'); ?>" />
                    </div>
                    <!-- Logo & Contact Info -->
                    <div class="row ">
                        <div class="col-md-3 col-sm-12">
                            <div claSS="logo">						
                                <a href="<?php echo home_url('/'); ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home">
                                    <?php
                                    if ($wl_theme_options['text_title'] == "on") {
                                        echo get_bloginfo('name');
                                    } else if ($wl_theme_options['upload_image_logo'] != '') {
                                        ?>
                                        <img src="<?php echo $wl_theme_options['upload_image_logo']; ?>" style="height:<?php if ($wl_theme_options['height'] != '') {
                                        echo $wl_theme_options['height'];
                                        } else {
                                            "80";
                                        } ?>px; width:<?php if ($wl_theme_options['width'] != '') {
                                            echo $wl_theme_options['width'];
                                        } else {
                                            "200";
                                        } ?>px;" />
                                    <?php } else { ?> 
                                        Dosweb
                                    <?php } ?>
                                </a>
<!--                                <p><?php bloginfo('description'); ?></p>-->
                            </div>
                        </div>
                        <div class="col-md-3 dosweb_form_search">
                            <form method="get" id="searchform" action="<?php echo home_url('/'); ?>">
                                <div class="input-icon">                                    
                                    <input type="text" class="form-control" name="s" id="s">
                                    <i class="fa fa-search"></i>
                                </div>
                            </form>
                        </div>
                        <div class="col-md-6">
                            <div class="col-md-5">
                                <?php
                                if (is_active_sidebar('buy_a_guide')) {?>
                                    <i class="icon-large icon-cart"></i>
                                    <?php
                                    dynamic_sidebar('buy_a_guide');
                                }
                                ?>
                            </div>
                            <div class="col-md-5">
                                <div class="email-sign-up-block">
                                    <i class="icon-large icon-envelope"></i>
                                    <a href="javascript:void(0);" id="expandEmail"><p>Email Sign up</p></a>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                            <?php if ($wl_theme_options['header_social_media_in_enabled'] == 'on') { ?>
                            <div class="col-md-6 col-sm-12">
<!--                                    --><?php //if ($wl_theme_options['email_id'] || $wl_theme_options['phone_no'] != '') { ?>
<!--                                    <ul class="head-contact-info">-->
<!--                                        --><?php //if ($wl_theme_options['email_id'] != '') { ?><!--<li><i class="fa fa-envelope"></i><a href="mailto:--><?php //echo $wl_theme_options['email_id']; ?><!--">--><?php //echo $wl_theme_options['email_id']; ?><!--</a></li>--><?php //} ?>
<!--                                        --><?php //if ($wl_theme_options['phone_no'] != '') { ?><!--<li><i class="fa fa-phone"></i>--><?php //echo $wl_theme_options['phone_no']; ?><!--</li>--><?php //} ?>
<!--                                    </ul>-->
<!--                                    --><?php //} ?>
                                <ul class="social">
                                    <?php if ($wl_theme_options['fb_link'] != '') { ?>
                                        <li class="facebook" data-toggle="tooltip" data-placement="bottom" title="Facebook"><a  href="<?php echo esc_url($wl_theme_options['fb_link']); ?>"><i class="fa fa-facebook"></i></a></li>
                                    <?php } if ($wl_theme_options['twitter_link'] != '') { ?>
                                        <li class="twitter" data-toggle="tooltip" data-placement="bottom" title="Twiiter"><a href="<?php echo esc_url($wl_theme_options['twitter_link']); ?>"><i class="fa fa-twitter"></i></a></li>
                                    <?php } if ($wl_theme_options['linkedin_link'] != '') { ?>					
                                        <li class="linkedin" data-toggle="tooltip" data-placement="bottom" title="Linkedin"><a href="<?php echo esc_url($wl_theme_options['linkedin_link']); ?>"><i class="fa fa-linkedin"></i></a></li>
                                    <?php } if ($wl_theme_options['youtube_link'] != '') { ?>
                                        <li class="youtube" data-toggle="tooltip" data-placement="bottom" title="Youtube"><a href="<?php echo esc_url($wl_theme_options['youtube_link']); ?>"><i class="fa fa-youtube"></i></a></li>
                                    <?php } ?>
                                </ul>	
                            </div>
                            <?php } ?>
                    </div>
                    <!-- /Logo & Contact Info -->
                </div>	
            </div>
            <!-- /Header Section -->
            <!-- Navigation  menus -->
            <div class="navigation_menu "  data-spy="affix" data-offset-top="95" id="enigma_nav_top">
                <span id="header_shadow"></span>
                <div class="container navbar-container" >
                    <nav class="navbar navbar-default " role="navigation">
                        <div class="navbar-header">
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">

                                <span class="sr-only">Toggle navigation</span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        <?php
                        wp_nav_menu(array(
                            'menu' => 'primary',
                            'theme_location' => 'primary',
                            'container' => 'div',
                            'container_class' => 'collapse navbar-collapse',
                            'container_id' => 'menu',
                            'menu_class' => 'nav navbar-nav',
                            'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
                            'walker' => new wp_bootstrap_navwalker())
                        );
                        ?>
                    </nav>
                </div>
            </div>
            <!-- /Navigation  menus -->